-- GENERATED SPELL FOR [Riverpaw Outrunner] --


function spell0_478(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_478', 579, 1)
end

function Sorts_478(pUnit, Event)
local choix_sorts_478 = math.random(0, 0)
if choix_sorts_478 == 0 then
pUnit:RegisterEvent('spell0_478', 1, 1)
end
end

function mob478_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_478', math.random(1500, 3000), 1)
end

function mob478_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob478_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob478_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(478, 1, 'mob478_Action')
RegisterUnitEvent(478, 2, 'mob478_Leave')
RegisterUnitEvent(478, 3, 'mob478_Kill')
RegisterUnitEvent(478, 4, 'mob478_Die')
